package com.blb.utils;

import com.blb.entity.Order;
import com.blb.entity.OrderLog;
import com.blb.mapper.OrderLogMapper;
import com.blb.service.IOrderLogService;
import com.blb.service.impl.OrderLogServiceImpl;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

public class TimeUtils {

    public static Date getNowTime()  {
        Date day = new Date();
        SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        Date parse = null;
        try {
            parse = df.parse(df.format(day));
        } catch (ParseException e) {
            e.printStackTrace();
        }
        return parse;
    }


}
